#pragma once
#include <vector>
#include "../common/GlobalDefine.h"
enum {
	PATH_MAST = 0,
	PATH_BACK,
	PATH_RE1,
	PATH_RE2
};
class CNewPathAddpter
{
public:
	CNewPathAddpter(void);
	~CNewPathAddpter(void);
	BOOL InitPath(CString strPath);
	BOOL WritePath();
	void GetPathList(int itype, std::vector<sPATROLPOS>& Vlist);
	void AddPosToList(sPATROLPOS pos, int itype);
	void AddListToFile(std::vector<sPATROLPOS>& Vlist, int itype);
	void Clear();
private:
	std::vector<sPATROLPOS> mPosListP;
	std::vector<sPATROLPOS> mPosListG;
	std::vector<sPATROLPOS> mPosListR1;
	std::vector<sPATROLPOS> mPosListR2;
	std::vector<sPATROLPOS> mPosListF;
	CString mstrPath;
};

extern CNewPathAddpter g_oNewPath;